import React,{Component} from "react";
import { Link,useNavigate } from "react-router-dom";
import '../css/TopTab.css'

export default function TopTab() {
    const navigate = useNavigate()
    return(
        <div className="tabCount">
            <ul>
                <li>小米网</li>
                <li>MIUI</li>
                <li>米聊</li>
                <li>游戏</li>
                <li>多看阅读</li>
                <li>云服务</li>
                <li>小米网移动版</li>
                <li>问题反馈</li>
                <li>Select Region</li>
                <li onClick={()=>navigate('/login/1/saber')}>登陆</li>
                <li onClick={()=>navigate('/shop')}>华为专区</li>
            </ul>
        </div>
    )
}